import React from "react"
import Item from "./Item"
import "./style.less"

export default class OrderView extends React.Component {
    render() {
        const data = this.props.data;
        return (
            <div>
                {data.map((item, index) => {
                    return <Item key={index} data={item} index={index}/>
                })}
            </div>
        )
    }
}